package com.shop.front.response.user;

import com.alibaba.fastjson.annotation.JSONField;

import com.shop.jpa.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@ApiModel("UserVo 用户对象")
@Data
public class LoginUserResp extends BaseDomain implements Serializable{



    @ApiModelProperty(value = "id", hidden = true)
    @JSONField(serialize=false)
    private Long id;




    /**
     * 昵称
     */
    @ApiModelProperty("用户昵称")
    private String nickname;

    /**
     * 头像
     */
    @ApiModelProperty("头像")
    private String avatar;



    /**
     * 登录成功accessToken
     */
    @ApiModelProperty("登录成功accessToken")
    private String accessToken;




}